$(function () {
    $.ajax({
        url:"http://182.254.146.100:3000/api/getindexmenu",
        dataType:"json",
        success: function (data) {
            //console.log(data)
            var html=template("searchtool",data)
            $("#search").html(html)
        }
    })
})